﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
using System.Xml;
using System.Xml.Linq;

namespace TM.QWeibo.SDK.Objects
{
    /// <summary>
    /// 微博操作结果数据
    /// </summary>
    [DataContract]
    public class TweetOperateResult
    {
        /// <summary>
        /// 微博的Id
        /// </summary>
       [DataMember(Name = "id")]
        public long TweetId { get; set; }
        /// <summary>
        /// 时间戳
        /// </summary>
        [DataMember(Name = "timestamp")]
        public long Timestamp { get; set; }

        /// <summary>
        /// 时间
        /// </summary>
        public string Time
        {
            get
            {
                return Util.ConvertFromTimestamp(this.Timestamp);
            }
        }
    }
}
